package com.ruoyi.tools;


public class WeChatConstant {
    //小程序开始
//    public static String WECHAT_APPID="wxae27ce14733b7a1b";
    public static String WECHAT_APPID="wxb9e738da2a0ed2c9";

    /** 商户号 */
    public static  String MERCHANT_ID = "1664038694";

    /** 商户API私钥路径 */
    public static  String PRIVATE_KEY_PATH = "apiclient_key.pem";

    /** 商户证书序列号 */
    public static  String MERCHANT_SERIALNUMBER = "46B4F093CC9A792B5D70F81DD5D6D7F919C52CA1";

    /** 商户APIV3密钥 */
    public static  String API_V3_KEY = "d42c07f0a2224c64b2eb468f0b83b14c";

    //    public static String WECHAT_SECRET="d884571010e8a4c478316e2f4c0f74b6";
    public static String WECHAT_SECRET="e1968bfa6c27c4b6bbdfc67b76cdd893";
    public static String WECHAT_TOKEN="";
    //获取微信公众号access_token的URL
    public static String GET_ACCESS_TOKEN_URL="https://api.weixin.qq.com/cgi-bin/token";
    //获取微信公众号所有用户的openId
    public static String GET_OPEN_ID_URL="https://api.weixin.qq.com/cgi-bin/user/get";
    //通过openId获取用户的信息
    public static String GET_WECHAT_USER_BY_OPENID_URL="https://api.weixin.qq.com/cgi-bin/user/info";
    //通过openId向用户发送消息
    public static String SEND_MESSAGE_TO_WECHAT_USER_BY_OPENID_URL="https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=";
    //获取小程序用户的openId及头像
    public static String GET_WECHAT_OPEN_ID_URL="https://api.weixin.qq.com/sns/jscode2session";
    //获取用户手机号
    public static String GET_WECHAT_USER_PHONENUMBER = "https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=";
    //默认头像
    public static  String WECHAT_USER_PIC="";
}
